//: C03:PassByValue.cpp
#include <iostream>

void f(int a){
    std::cout << "a = " << a << '\n';
    a = 5;
    std::cout << "a = " << a << '\n';
}

int main(void){
    int x = 47;
    std::cout << "x = " << x << '\n';
    f(x);
    std::cout << "x = " << x << '\n';
    return 0;
}